/**
 * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {

    config.language = $('html').attr('lang') ? $('html').attr('lang') :'ug';

    config.contentsLangDirection = (config.language == 'ug' ? 'rtl' : 'ltr');
    config.filebrowserBrowseUrl = '/assets/elfinder/ckeditor';
    config.contentsCss = 'js/libs/ckeditor/contents.css';
    config.font_names = 'Alpida Unicode System,' + config.font_names;
    config.allowedContent = true;
};
